package com.github.ecbp.store.service.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.ecbp.common.data.service.BaseService;
import com.github.ecbp.store.service.dto.ProductAttributeDTO;
import com.github.ecbp.store.service.dto.ProductAttributeQueryDTO;
import com.github.ecbp.store.service.entity.ProductAttribute;
import com.github.ecbp.store.service.vo.ProductAttributeVO;

import java.util.List;

/**
 * @Author Created by Alex·He on 2020/4/29 11:30
 * @Version 1.0
 * @Description 商品属性表(ProductAttribute)表服务接口
 */
public interface ProductAttributeService extends BaseService<ProductAttribute> {

    boolean save(ProductAttributeDTO param);

    boolean removeById(Long id);

    boolean removeByIds(List<Long> ids);

    boolean updateById(ProductAttributeDTO param);

    IPage<ProductAttributeVO> page(ProductAttributeQueryDTO param);
}
